<div ng-include="'views/template/search.html'"></div>

<div class="lists-box detail" ng-if="jsons">
    <h1>{{ jsons.current['platform-name'] }}</h1>
    <h2>评测等级：{{ jsons.current['score-total'] | gradeFilter }} <!--<i class="grade-{{ jsons.current['score-total'] | gradeIconFilter }}"></i>--></h2>

    <div class="c-list">
        <div class="tit blue">总计</div>
        <div class="table-box">
            <table>
                <tbody>
                <tr>
                    <td class="th" width="30%" rowspan="2">排行</td>
                    <td class="th" width="30%">行业排名</td>
                    <td class="th" width="30%">总排名</td>
                </tr>
                <tr>
                    <!--<td class="black">{{ jsons.current['score-total'] | minFilter }}</td>-->
                    <td>{{ jsons.avgStatics.industry }} {{ jsons.current['isIndustryParallel']==1?'(并列)':'' }}</td>
                    <td>{{ jsons.avgStatics.total }} {{ jsons.current['isTotalParallel']==1?'(并列)':'' }}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="c-list">
        <div class="table-box">
            <table>
                <tbody>
                <tr>
                    <td class="th" width="30%" rowspan="2">行业对比</td>
                    <td class="th" width="30%">行业第一</td>
                    <td class="th" width="30%">总排名第一</td>
                </tr>
                <tr>
                    <td>{{ (jsons.current['isIndustryFirst']==1?jsons.current['platform-name']:jsons.industryBest[0]['platform-name'])+(jsons.industryBestParallel==1?' (并列)':'') }}</td>
                    <td>{{ jsons.totalBest[0]['platform-name']+(jsons.totalBestParallel==1?' (并列)':'') }}<!--<br>({{ jsons.totalBest[0]['score-total'] }}分)--></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="c-list">
        <div class="tit blue">评分标准</div>
        <div class="table-box">
            <table>
                <!--<thead>
                <th width="100%" class="left">项目</th>
                <th width="25%">得分</th>
                </thead>-->
                <tbody ng-if="!rules">
                    <tr ng-repeat="item in jsons.ruleCategoryStatics">
                        <td class="left">{{ item['rule-category'] }}</td>
                        <!--<td>{{ item.score.selfTotal }}</td>-->
                    </tr>
                </tbody>
                <!--<tbody ng-if="rules">
                    <tr ng-repeat="item in rules">
                        <td class="left">{{ $index+1 }}.{{ item.rule.desc }}</td>
                        <td>{{ item['rule-score'] }}</td>
                    </tr>
                </tbody>-->
            </table>
        </div>
    </div>

    <!--<a class="btn-show" ng-click="showMore()" ng-if="!rules">更详细请点击{{ jsons.current['platform-name'] }}50项评分标准得分</a>-->
    <a class="btn-show" ng-click="goPage('/gradedetail/'+jsons.current['directory-code']+'/'+jsons.current['detail-version-applied'])">点击查看50项详细评分标准</a>
    <a class="btn-show" ui-sref="traderank">返回</a>

    <p class="explain">
        “如果您对测评有建议或反馈，请拔打 <a href="tel://02087388888">020-87388888</a> ”
    </p>
</div>